﻿<Window x:Class="WPFExcelReport.JLTWB10IT"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
                    xmlns:WB="clr-namespace:WPFExcelReport;assembly=TWBBST"
                    Name="TV"
                    Loaded="Window_Loaded" 
                    >
    <Window.Resources>

    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <WrapPanel Grid.Row="0"> 
            <Button FontSize="18" Content="获取转数" HorizontalAlignment="Left" Margin="20,0,0,0" VerticalAlignment="Top" Width="75"  Click="btnGetCount_Click"/>
            <Button FontSize="18" Content="停止" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="75"  Click="btnStop_Click"/>
            <Button FontSize="18" Content="发送" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="75"  Click="btnSnd2Itnex_Click_1"/>
         </WrapPanel>
        <WrapPanel Grid.Row="1" >
            <TextBlock FontSize="40" HorizontalAlignment="Left" Margin="0,0,0,0" TextWrapping="Wrap" Text="长度:" VerticalAlignment="Top"/>
            <TextBox Name="txtCount" Background="Yellow" FontSize="40" HorizontalAlignment="Right" Width="200" Margin="20,0,0,0"  Text="{Binding LENGTH,ElementName=TV}"  VerticalAlignment="Top"/>
            
            <TextBox Name="txtInfo"/>
        </WrapPanel>
        <WB:TWBBPRN  Grid.Row="2"/>
    </Grid>
</Window>
